﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sundry.Model
{
    /// <summary>
    /// 权限
    /// </summary>
    public class Authory
    {
        [Key]
        public int AuthoryId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        [StringLength(20,MinimumLength=1)]
        public string Name { get; set; }
        /// <summary>
        /// 权限可使用路径Id
        /// </summary>
        [StringLength(300)]
        public string MenuList { get; set; }
    }
}
